package com.ninthgroup.mapper;

import com.ninthgroup.entity.MessageBooking;

import java.util.List;

public interface MessageBookingMapper {
    int deleteByPrimaryKey(Integer mId);

    int insert(MessageBooking record);

    int insertSelective(MessageBooking record);

    MessageBooking selectByPrimaryKey(Integer mId);

    int updateByPrimaryKeySelective(MessageBooking record);

    int updateByPrimaryKey(MessageBooking record);

    List<MessageBooking> selectAll();

    List<MessageBooking> selectbing();

    /*统计图*/
    int selectSexMan();

    int selectSexWomen();

    int selectByAge0_20();

    int selectByAge20_40();

    int selectByAge40_60();

    int selectByAge60();


}